package me.sealer.ssm.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author sealer
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "中国区域")
public class ChinaArea {
    @ApiModelProperty(value = "区域id")
    private Integer id;

    @ApiModelProperty(value = "区域级别")
    private Integer level;

    @ApiModelProperty(value = "父级区域编码")
    private Long parentCode;

    @ApiModelProperty(value = "区域编码")
    private Long code;

    @ApiModelProperty(value = "邮政编码")
    private Integer zipCode;

    @ApiModelProperty(value = "区号")
    private String cityCode;

    @ApiModelProperty(value = "区域名称")
    private String name;

    @ApiModelProperty(value = "区域简称")
    private String shortName;

    @ApiModelProperty(value = "区域全称")
    private String mergeName;

    @ApiModelProperty(value = "区域简称拼音")
    private String pinyin;

    @ApiModelProperty(value = "区域经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "区域纬度")
    private BigDecimal latitude;
}